package net.qiqbframework.eventsourcing.dao;

import net.qiqbframework.persisthanding.dao.BasicEntityPoDao;

import java.util.List;

public interface DomainEventProcessDao extends BasicEntityPoDao<DomainEventRecordPo> {

    List<DomainEventRecordPo> listByEventIdAndListenerId(String applicationName, String eventId, String listenerId);

    DomainEventRecordPo getPoById(String id);

}
